package com.zxw.user.mapper;
import com.zxw.user.domain.dto.DeptSelectDTO;
import org.apache.ibatis.annotations.Param;

import com.zxw.user.domain.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-03-10
 */
public interface DeptMapper extends BaseMapper<Dept> {

    List<Dept> getAllByCompanyIdList(Dept dept);

    List<Dept> getIdAndNameByCompanyId(@Param("companyId") Long companyId);

}
